package cz.idsv.web.mvc.model.dao;

import java.util.Collection;

import org.springframework.dao.DataAccessException;

import cz.idsv.web.mvc.model.entity.ShopEntity;



/**
 * Shop DAO interface.
 * 
 * @author Jan Borzensky 
 */
public interface ShopDao {

    /**
     * Find shop.
     */
    public Collection<ShopEntity> findShop();
    
    /**
     * Saves shop.
     */
    public void save(ShopEntity shopEntity);
    
    
    /**
     * Delete shop.
     */
    public void delete(ShopEntity shopEntity);
    
    /**
     * Find shop by id.
     */
    public ShopEntity findShopById(Integer id) throws DataAccessException;
    /**
     * Find shop by street.
     */
    public Collection<ShopEntity> findShopByName(String Name) throws DataAccessException;
    
}

